<?php
	App::uses('I18nRoute', 'I18n.Routing/Route');
	Router::connect('/', array('controller' => 'news', 'action' => 'home'), array('routeClass' => 'I18nRoute'));
	Router::connect('/admin', array('admin'=>true,'controller' => 'users', 'action' => 'index'), array('routeClass' => 'I18nRoute'));
	Router::connect('/admin/login.html', array('admin'=>true,'controller' => 'users', 'action' => 'login'), array('routeClass' => 'I18nRoute'));
	Router::connect('/admin/logout.html', array("admin"=>true,'controller' => 'users', 'action' => 'logout'), array('routeClass' => 'I18nRoute'));
	//Router::connect('/admin/nguoi-dung/index.html', array("admin"=>true,'controller' => 'users', 'action' => 'index'));
	//Router::connect('/admin/nguoi-dung/add.html', array("admin"=>true,'controller' => 'users', 'action' => 'add'));
	Router::connect('/acl', array('admin'=>true,'plugin' => 'acl', 'controller' => 'acl', 'action' => 'index'), array('routeClass' => 'I18nRoute'));































	CakePlugin::routes();
	require CAKE . 'Config' . DS . 'routes.php';
